import { UIManager } from '../../base/manger/UIManager';

const { ccclass, property } = cc._decorator;

@ccclass
export class DefaultOpenViewButton extends cc.Component {
    @property(cc.Integer)
    viewId: number = 0

    onTouch() {
        UIManager.instance().openView(this.viewId)
    }

}


